package com.example.app.yidu.activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;

import com.example.app.yidu.R;

public class XiaoXiActivity extends AppCompatActivity {
    private Toolbar toolbar;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_xiao_xi);
        initView();
        initData();
    }

    private void initData() {
        toolbar.setTitle("消息");
        toolbar.setTitleTextColor(getResources().getColor(R.color.white));
    }

    private void initView() {
        toolbar= (Toolbar) findViewById(R.id.toolbar);
    }
}
